﻿<Window x:Class="ResourceBlender_Express.WinFullEditor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:loc="clr-namespace:ResourceBlender_Express"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    loc:WindowService.EscapeClosesWindow="True"
    Title="Editor" MinHeight="200" Height="300" MinWidth="300" Width="500"
    Style="{StaticResource {x:Type Window}}" Icon="/ResourceBlender-Express;component/Resources/images/resourceblender.ico">
    <DockPanel>
        <ToolBar DockPanel.Dock="Top">
            <loc:ImageButton Image="Resources/images/undo_16.png" Text="Undo" ToolTip="Cut" ShowText="False" Command="Undo" Style="{StaticResource ToolBarButton}" />
            <loc:ImageButton Image="Resources/images/redo_16.png" Text="Cut" ToolTip="Cut" ShowText="False" Command="Redo" Style="{StaticResource ToolBarButton}" />
            <loc:ImageButton Image="Resources/images/cut_16.png" Text="Cut" ToolTip="Cut" ShowText="False" Command="Cut" Style="{StaticResource ToolBarButton}" />
            <loc:ImageButton Image="Resources/images/copy_16.png" Text="Copy" ToolTip="Copy" ShowText="False" Command="Copy" Style="{StaticResource ToolBarButton}" />
            <loc:ImageButton Image="Resources/images/paste_16.png" Text="Paste" ToolTip="Paste" ShowText="False" Command="Paste" Style="{StaticResource ToolBarButton}" />
        </ToolBar>
        <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
            <Button MinWidth="140" IsDefault="True" Click="btnReturn_Click">Save and Return</Button>
            <Button MinWidth="70" IsCancel="True" Click="btnCancel_Click" Margin="2,2,0,2">Cancel</Button>
        </StackPanel>
        <TextBox DockPanel.Dock="Bottom"  x:Name="txt" SpellCheck.IsEnabled="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" AcceptsReturn="True" />
    </DockPanel>
</Window>
